import rui from '@/uni_modules/rui-tools'
const {
	http
} = rui.start;


// 用户登录
export const userLogin = (params) => http.post('xPLYRzkCAvmp', params)
// 上传头像
export const uploadAvatar = (params) => http.post('tOiJfWYDYXoX', params)
//首页数据
export const getIndexData = (params) => http.get('y9Yt9iR3JIm8', {params})
//首页我的设备
export const getIndexDevice = (params) => http.get('xevmnO6LFyQw', {params})
//搜索蓝牙/产品
export const getSearchProduct = (params) => http.get('w1JxHzohI6d8', {params})
//获取所以设备名称
export const getAllDevice = (params) => http.get('Rg3VcNr0qpe1', {params})
//添加产品
export const addProduct = (params) => http.post('iHzA1OqfMgEz', params)
//设备菜单
export const getDeviceMenu = (params) => http.get('8skwnDiY1r4w', {params})
//帮助列表
export const getHelpList = (params) => http.get('Fg71ygJ1TDIf', {params})
//帮助详情
export const getHelpDetail = (params) => http.get('IqgnEkONUNsQ', {params})
//我的客服
export const getService = (params) => http.get('k9ma8Fw1EY9P', {params})
//协议列表
export const getArticle = (params) => http.get('AA4GVSgegqaL', {params})
//删除设备
export const delProduct = (params) => http.delete('rbZpoiQW2zt2', params)
//修改名称
export const editProduct = (params) => http.post('c6eJ0HZTDJNy', params)
//协议详情
export const getArticleDetail = (params) => http.get('CjJ2DkmEKrxq', {params})
//获取用户
export const getUserInfo = (params) => http.get('dJRRQJpf2vQz', {params})
//写入日志
export const setUserLog = (params) => http.post('nfmngW0nksbL', params)
//获取日志
export const getUserLog = (params) => http.get('RsnyvoGXdTJH', {params})
//获取版本
export const getVersion = (params) => http.get('KYlgv0jMXunO', {params})




//水杯首页
export const getCupInfo = (params) => http.get('tsnbNqUxZI9k', {params})
//录入指纹
export const addFinger = (params) => http.post('OV1wepjUWh7u', params)
//删除指纹
export const delFinger = (params) => http.delete('2AiCv9YTxJ7R', params)
//指纹列表
export const getFinger = (params) => http.get('BrhBB360qVhi', {params})
//修改指纹
export const editFinger = (params) => http.post('58GastEAvl7P', params)
//获取指纹Key
export const getFingerKey = (params) => http.get('8QLuy3kCfOss', {params})
//获取所有指纹key
export const getFingerAll = (params) => http.get('Nuo3ImvDrYg6', {params})
//更新状态
export const upStatus = (params) => http.post('OZsGTMbrh6kc', params)
//同步每日次数
export const setCupLog = (params) => http.post('tFhWqjWvsaao', params)
//获取指定日期总数
export const getCupLog = (params) => http.get('BRwXjMM6swJ7', {params})
//恢复出厂设置
export const restoreFactory = (params) => http.get('WfHfUWzYzbMg', {params})




